
package me.zhengjie.modules.workOrder.service.dto;

import lombok.Data;

import java.sql.Timestamp;
import java.math.BigDecimal;
import java.util.List;

import me.zhengjie.annotation.Query;

/**
 * @author 李奎
 * @website https://eladmin.vip
 * @date 2023-06-29
 **/
@Data
public class WorkOrderDetailQueryCriteria {

    /**
     * 精确
     */
    @Query
    private String workDetailId;

    /**
     * 精确
     */
    @Query
    private String workHeadId;

    /**
     * 模糊
     */
    @Query(type = Query.Type.INNER_LIKE)
    private String startUser;

    /**
     * 模糊
     */
    @Query(type = Query.Type.INNER_LIKE)
    private String endUser;

    /**
     * 大于等于
     */
    @Query(type = Query.Type.GREATER_THAN)
    private BigDecimal workHours;

    /**
     * 精确
     */
    @Query
    private String questionType;

    /**
     * 精确
     */
    @Query
    private String workStatus;

    /**
     * 模糊
     */
    @Query
    private String enterpriseCode;

    /**
     * BETWEEN
     */
    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> endTime;

    /**
     * BETWEEN
     */
    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> startTime;
}